package com.qf.day02;

public class forDemo {
    public static void main(String[] args) {
        int a = 0;
        for (int i = 1; i <= 100; i++) {
            a = a += i;
        }
        System.out.println(a);
    }
}
